import { GetterTree } from "vuex"

const getters:GetterTree<any,any> = {
  token: state => state.user.token,
  userId: state => state.user.userId,
  username: state => state.user.username,
  deptName: state => state.user.deptName,
  deptId: state => state.user.deptId,
  easyName: state => state.user.easyName,
  deptCode: state => state.user.deptCode,
  gsbmId: state => state.user.gsbmId,
  jtgsDm: state => state.user.jtgsDm,
  jtgsId: state => state.user.jtgsId,
  jtgsMc: state => state.user.jtgsMc,
  zgldId: state => state.user.zgldId,
  zgldName: state => state.user.zgldName,
  id: state => state.user.id,
  monitorDept: state => state.user.monitorDept,
  phone: state => state.user.phone,
  photo: state => state.user.photo,
  roleCodes: state => state.user.roleCodes,
  roleIds: state => state.user.roleIds,
  roleNames: state => state.user.roleNames,
  rolesList: state => state.user.rolesList,
  zhDs: state => state.user.zhDs,
  zhId: state => state.user.zhId,
  zhMc: state => state.user.zhMc,
  zsldId: state => state.user.zsldId,
  zsldName: state => state.user.zsldName,
  sysVariables: state => state.user.SysVariables,
  appId: state => state.config.appId,
  apkId: state => state.config.apkId
}
export default getters
